package fuzzy.penelope.helpers.introspection {
	import flash.utils.*;

    public class IntrospectionHammer extends Object
    {
        private static var nonstaticPropertiesXML:XMLList;
        private static var xmlDescriptionOfClass:XML;

        public function IntrospectionHammer()
        {
            return;
        }// end function

        public static function getProperties(param1:Class) : Array
        {
            var _loc_3:XML = null;
            var _loc_4:Property = null;
            xmlDescriptionOfClass = describeType(param1);
            nonstaticPropertiesXML = xmlDescriptionOfClass.factory.accessor;
            var _loc_2:Array = [];
            for each (_loc_3 in nonstaticPropertiesXML)
            {
                
                _loc_4 = new Property(_loc_3.@name, _loc_3.@type.toString());
                _loc_2.push(_loc_4);
            }
            return _loc_2;
        }// end function

       

    }
}
